package com.pine.manager.pineframework.query;

import com.pine.dao.pineframework.constants.StatusEnum;
import com.pine.manager.core.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>
 * 字典表查询对象
 * </p>
 *
 * @author pine manage
 * @since 2024-08-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysDictQuery extends BaseQuery<Long> {

    @Serial
    private static final long serialVersionUID = 8839956275902230542L;
    
    /**
     * 类型名称
     */
    private String name;
    /**
     * 类型编码
     */
    private String code;
    /**
     * 状态:0=启用,1=禁用
     */
    private StatusEnum status;
    /**
     * 描述、备注
     */
    private String remark;
    /**
     * 更新时间-起始
     */
    private LocalDateTime updateTimeStart;
    /**
     * 更新时间-截止
     */
    private LocalDateTime updateTimeEnd;
}
